﻿@using System.Web.Optimization 
@using EcBlog.Data
@using EcBlog.Extensions
@using EcBlog.Models
@{ 
    var siteSettings = DependencyResolver.Current.GetService<IEcUnitOfWork>().SiteSettingRepository;  
 }
<!DOCTYPE html > 
<html>
    <head>
        <title>@ViewBag.SiteTitle</title>
        @RenderSection("head", false) 
        @Scripts.Render("~/bundles/metro")
        @Styles.Render("~/Content/themes/metro")
    </head>
<body onload="prettyPrint()">
    <div class="container_12"> 
        <header class="grid_12">
            <div class="grid_2 alpha">
                <img class="logo" src="@Url.Content("~/Content/images/logo2.png")" alt="@siteSettings[SiteSettingKey.SiteTitle]" /> 
            </div>
            <div class="grid_10 omega">
                <nav class="grid_9 ">
                    @RenderSection("nav", false)
                </nav>
                @RenderSection("header", false)
            </div> 
            <div class="clear"></div> 
        </header>  
        <div class="clear"></div> 
            <section>  
                <div class="grid_10">
                    @RenderBody()
                </div> 
                        <aside class="grid_2">
                        @RenderSection("extra", false)
                        <p id="tweet">
                        </p> 
                    </aside>  
            </section> 
        <div class="clear"></div> 
        <div class="grid_12">
            <footer > 
                @RenderSection("footer", false)
            </footer>
        </div>
    </div>
</body>
</html>
